/* common styles */
body { 
	font-size: 100%; 
	line-height: 1.5;	
	font-family: "Georgia", "Times New Roman", times, serif;
	color: #444;
	kbackground: #fff;
	text-align: left;
    padding: 0;
    margin: 0;
	}				
	html>body {
		font-size: 100%; /* 16px; */
		}


/* links */
a { color: #0820a6; } /* chelsea blue */
a:visited { color: #990066; }
a:active {  color: #009933; }
*:focus {  background: #ffd; }
a:hover { color: #000; text-decoration: underline; }

.template { display: none; }
.ok { color: #0a0; }
.error { color: #a00; }

#wrapper {
    width: 100%;
    overflow: auto;
    }
    #wrapper .inner {
        padding: 2.5em 12px 0 12px;
        }
    h1#mainTitle {
        margin: 0;
        padding: 0 0 3px 0.5em;
        border-bottom: 1px dotted #ddd;
        }
    p.noscript {
        margin: 2em;
        }

    /* loading anim */
    #loading {
        display: none;
        position: absolute;
        top: 4.5em;
        left: 40%;
        background: #ff9;
        color: #000;
        border: 1px solid #ccc;
        }
        #loading p {
            margin: 0;
            padding: 2px 1.5em 2px 0.75em;
            font-size: 80%;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            font-weight: bold;
            }
        #loading img {
            margin: 0 auto;
            }
            
    /* error notification */
    #error {
        display: none;
        position: absolute;
        top: 0;
        left: 30%;
        background: #ccc;
        width: 20em;
        border: 1px solid #999;
        }
        #error .inner {
            padding: 1em 1.5em;
            }
        #error h3 {
            font-size: 80%;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            font-weight: bold;
            background-color: #a00;
            color: #fff;
            padding: 0.5em 1.5em;
            margin: 0;
            }
        #error p {
            padding; 0;
            margin: 0;
            }
            #error p.ok {
                text-align: center;
                font-family: tahoma, verdana, arial, helvetica, sans-serif;
                font-weight: bold;
                margin-top: 1.0em;
                }
                #error p.ok a {
                    color: #018ece;
                    border: 1px solid #666;
                    background-color: #fff;
                    padding: 3px 8px;
                    font-size: 80%;
                    font-family: tahoma, verdana, arial, helvetica, sans-serif;
                    text-decoration: none;
                    }

    /* common screen styles */
    .screen {
        position: absolute;
        width: 100%;
        display: none;
        }

    /* detail screen */
    #detailScreen {
        background: #fff;
        }
    #detailScreen .inner {
        padding: 24px;
        margin: 8px;
        background: #efefef;
        border: 1px solid #ddd;
        }

    #detailScreen #infoWrapper {
        margin: 1.5em 0 0 0;
        padding: 0.25em 0 0 0;
        border-top: 1px dotted #666;
        }
    #detailScreen #editFormWrapper {
        display: none;
        margin: 1.5em 0 0 0;
        padding: 1.0em 0 0 0;
        border-top: 1px dotted #666;
        width: 100%;
        overflow: auto;
        }
        #detailScreen #editFormWrapper dl {
            margin: 0;
            }


    #detailScreen #photoNav {
        position: absolute;
        top: 18px;
        left: 32px;
        }
        #detailScreen #photoNav a {
            display: block;
            float: left;
            color: #018ece;
            border: 1px solid #666;
            background-color: #fff;
            padding: 3px 8px;
            font-size: 80%;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            text-decoration: none;
            }
            #detailScreen #photoNav a:hover {
                text-decoration: underline;
                }

            #detailScreen #photoNav a.disabled {
                color: #666 !important;
                background-color: #ddd !important;
                }
                #detailScreen #photoNav a.disabled:hover {
                    text-decoration: none !important;
                    color: #666 !important;
                    background-color: #ddd !important;
                    }
            #detailScreen #photoNav a.prev {
                background: #fff url(/get/application/images/16-arrow-left.png) 5px 5px no-repeat;
                padding-left: 26px;
                }
                #detailScreen #photoNav a.prev:hover {
                    background-color: #018ece;
                    color: #fff;
                    }

            #detailScreen #photoNav a.next {
                background: #fff url(/get/application/images/16-arrow-right.png) 88% 5px no-repeat;
                padding-right: 26px;
                margin-left: 6px;
                }
                #detailScreen #photoNav a.next:hover {
                    background-color: #018ece;
                    color: #fff;
                    }

    #detailWrapper {
        position: relative;
        }
    #detailScreen #editNav {
        position: absolute;
        top: 12px;
        right: 0px;
        }
        #detailScreen #editNav a {
            display: block;
            float: left;
            color: #018ece;
            border: 1px solid #666;
            background-color: #fff;
            padding: 3px 8px;
            font-size: 80%;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            text-decoration: none;
            }
            #detailScreen #editNav a:hover {
                text-decoration: underline;
                }
            #detailScreen #editNav a.edit {
                background: #fff url(/get/application/images/16-em-pencil.png) 5px 5px no-repeat;
                padding-left: 26px;
                margin-right: 6px;
                }
                #detailScreen #editNav a.edit:hover {
                    background-color: #018ece;
                    color: #fff;
                    }

            #detailScreen #editNav a.delete {
                background: #fff url(/get/application/images/16-em-cross.png) 5px 5px no-repeat;
                padding-left: 26px;
                }
                #detailScreen #editNav a.delete:hover {
                    background-color: #018ece;
                    color: #fff;
                    }

    #detailScreen #close {
        position: absolute;
        top: 18px;
        right: 32px;
        }
        #detailScreen #close a {
            display: block;
            background: #fff url(/get/application/images/16-em-open.png) 5px 5px no-repeat;
            border: 1px solid #666;
            padding: 3px 8px 3px 26px;
            color: #018ece;
            font-size: 80%;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            text-decoration: none;
            }
            #detailScreen #close a:hover {
                text-decoration: underline;
                background-color: #018ece;
                color: #fff;
                }

        #detailScreen .photo img {
            clear: both;
            margin-top: 12px;
            max-width: 700px;
            border: 6px solid #ddd;
            }
    #detailScreen h3 {
        font-size: 120%;
        margin: 0;
        padding: 0;
        }
    #detailScreen .updated {
        margin: 0;
        font-size: 85%;
        }
    #detailScreen .author {
        margin: 0;
        font-size: 85%;
        }


        #detailScreen #extraTools {
            margin: 0.5em 0.5em 1.5em 1.0em;
            font-family: tahoma, verdana, arial, helvetica, sans-serif;
            font-size: 85%;
            }

        #detailScreen #comments ul {
            list-style: none;
            margin: 0 0 0 1.5em;
            padding: 0;
            }
            #detailScreen #comments ul h3 {
                margin: 1em 0 0 0;
                padding: 0;
                }
            #detailScreen #comments ul li {
                position: relative;
                margin-bottom: 1em;
                margin-top: 0.5em;
                padding-top: 0.5em;
                border-top: 1px dotted #666;
                }
                #detailScreen .commentNav {
                    position: absolute;
                    top: 12px;
                    right: 3px;
                    }
                    #detailScreen .commentNav a {
                        display: block;
                        float: left;
                        color: #018ece;
                        border: 1px solid #666;
                        background-color: #fff;
                        padding: 3px 8px;
                        font-size: 80%;
                        font-family: tahoma, verdana, arial, helvetica, sans-serif;
                        text-decoration: none;
                        }
                        #detailScreen .commentNav a:hover {
                            text-decoration: underline;
                            }
                        #detailScreen .commentNav a.edit {
                            margin-right: 6px;
                            }

                        #detailScreen .commentNav a.delete {
                            background: #fff url(/get/application/images/16-em-cross.png) 5px 5px no-repeat;
                            padding-left: 26px;
                            }
                            #detailScreen .commentNav a.delete:hover {
                                background-color: #018ece;
                                color: #fff;
                                }


            #detailScreen #comments ul h4 {
                font-size: 95%;
                margin: 0;
                padding: 0;
                }
            #detailScreen #comments ul p {
                margin: 0;
                padding: 0;
                }
            #detailScreen #comments ul p.updated {
                font-size: 85%;
                }

    #detailScreen form#commentForm {
        border-top: 1px dotted #666;
        }
        #detailScreen form#commentForm dl {
            margin: 0.25em 0;
            }
            #detailScreen form#commentForm dl dt,
            #detailScreen form#commentForm dl dd {
                float: none;
                width: auto;
                padding: 0;
                margin: 0;
                }
            #detailScreen form#commentForm dl dt {
                margin-bottom: 0.25em;
                }


    /* home screen */
    #homeScreen .inner {
        padding: 12px 0 0 24px;
        }
    #homeScreen #none {
        display: none;
        margin: 1.0em;
        }
    #homeScreen #photoPager {
        width: 90%;
        font-size: 75%;
        font-family: tahoma, verdana, arial, helvetica, sans-serif;
        border-bottom: 1px dotted #dedede;
        padding-bottom: 0.5em;
        }
        #homeScreen #photoPager p {
            float: left;
            padding: 0;
            margin: 0;
            }
        #homeScreen #photoPager ul {
            margin: 0;
            padding: 0 0 0 1em;
            overflow: auto;
            }
        #homeScreen #photoPager li {
            list-style: none;
            float: left;
            }
            #homeScreen #photoPager li a {
                display: block;
                padding: 2px 8px;
                margin-right: 8px;
                border: 1px solid #ddd;
                color: #018ece;
                background-color: #fff;
                text-decoration: none;
                }
                #homeScreen #photoPager li a.selected,
                #homeScreen #photoPager li a:hover {
                    background-color: #018ece;
                    color: #fff;
                    text-decoration: underline;
                    }

    #homeScreen #photos {
        margin: 1em 0 0 0;
        width: 100%;
        }
        #homeScreen li {
            list-style: none;
            float: left;
            padding: 0;
            margin: 0;
            }
            #photos td {
                width: 49%;
                vertical-align: top;
                }
            #homeScreen .photo {
                float: left;
                width: 150px;
                vertical-align: top;
                padding-bottom: 20px;
                }
            #homeScreen .photo {
                margin: 0;
                }
                #homeScreen .photo img {
                    width: 136px;
                    border: 6px solid #ddd;
                    vertical-align: top;
                    }
                    #homeScreen .photo img.loading {
                        width: 32px;
                        padding: 48px;
                        }

            #homeScreen .metadata {
                float: left;
                width: 50%;
                vertical-align: top;
                padding: 0 1em;
                }
                #homeScreen .metadata h3 {
                    font-size: 100%;
                    margin: 0;
                    padding: 0;
                    }
                    #homeScreen .metadata h3 a {
                        text-decoration: none;
                        color: #333;
                        }
                    #homeScreen .metadata .updated,
                    #homeScreen .metadata .comments {
                        margin: 0;
                        font-size: 85%;
                        }

    /* upload screen */
    .formFrame { visibility: hidden; }
    form dl {
        margin: 2em;
        }
        form dl dt {
            clear: both;
            float: left;
            width: 12em;
            }
        form dl dd {
            float: left;
            padding-bottom: 12px;
            }
            form dl dd.buttons {
                clear: both;
                padding-left: 12em;
                }
            form textarea {
                border: 1px solid #666;
                width: 25em;
                padding: 4px;
                }
            form input.text {
                border: 1px solid #666;
                width: 30em;
                padding: 4px;
                }


/* navigation */
    #tabNav {
        position: absolute;
        font-size: 75%;
        font-family: tahoma, verdana, arial, helvetica, sans-serif;
        top: 5.3em; /*1.95em;*/
        left: 0;
        width: 100%;
        display: none;
        }
        #tabNav ul {
            float: right;
            list-style: none;
            margin: 0 12px 0 12px;
            padding: 0;
            }
            #tabNav ul li {
                float: left;
                margin-bottom: -1px;
                }
            #tabNav ul li a {
                display: none;
                -moz-border-radius-topleft: 6px;  
                -moz-border-radius-topright: 6px;  
                -webkit-border-top-left-radius: 6px;  
                -webkit-border-top-right-radius: 6px;  
                display: block;
                float: left;
                min-width: 5em;
                text-align: center;
                background: #eee;
                text-decoration: none;
                color: #018ece;
                border: 1px solid #ccc;
                border-width: 1px 1px 0 1px;
                padding: 4px 12px;
                margin-right: 6px;
                }
                #tabNav ul li a:hover {
                    background: #fff;
                    color: #018ece;
                    text-decoration: underline;
                    }
                #tabNav ul li.selected a {
                    background: #fff;
                    color: #018ece;
                    border-bottom: 4px solid #fff;
                    font-weight: bold;
                    }
                    #tabNav ul li.selected a:before { content: '» '; }

